package com.ruoyi.aipic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片生成对象 genpic
 * 
 * @author ruoyi
 * @date 2024-11-02
 */
public class Genpic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生成id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 图片名字 */
    @Excel(name = "图片名字")
    private String picName;

    /** 创建状态 */
    @Excel(name = "创建状态")
    private Integer createStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPicName(String picName) 
    {
        this.picName = picName;
    }

    public String getPicName() 
    {
        return picName;
    }
    public void setCreateStatus(Integer createStatus) 
    {
        this.createStatus = createStatus;
    }

    public Integer getCreateStatus() 
    {
        return createStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("picName", getPicName())
            .append("createStatus", getCreateStatus())
            .toString();
    }
}
